import { Column, Entity, PrimaryColumn } from 'typeorm';

// 实体类定义
@Entity('t_order_pay')
export class OrderEntity {
  @PrimaryColumn({ name: 'f_order_id' })
  fOrderId: string;

  @Column({ name: 'f_order_price' })
  fOrderPrice: string;

  @Column({ name: 'f_create_time' })
  fCreateTime: string;

  @Column({ name: 'f_pay_time' })
  fPayTime: string;

  @Column({ name: 'f_user_id' })
  fUserId: string;

  @Column({ name: 'f_state' })
  fState: string;

  @Column({ name: 'f_is_del' })
  fIsDel: string;

  @Column({ name: 'f_product_id' })
  fProductId: string;

  @Column({ name: 'f_order_no' })
  fOrderNo: string;
}